package com.atguigu.gmall.activity.service;

import com.atguigu.gmall.model.activity.ActivityRule;
import com.atguigu.gmall.model.activity.ActivityRuleVo;
import com.atguigu.gmall.model.activity.CouponInfo;
import com.atguigu.gmall.model.product.SkuInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author: zm
 * @Date: 2021/8/15 19:32
 */
public interface ActivityRuleService {
    /**
     * 活动规则List
     * @param id
     * @return
     */
    Map<String,Object> findActivityRuleList(Long id);

    /**
     * 获取 skuInfo 列表
     * @param keyWord
     * @return
     */
    List<SkuInfo> findSkuInfoByKeyword(String keyWord);

    /**
     * 保存ActivityRule
     * @param activityRuleVo
     */
    void saveActivityRule(ActivityRuleVo activityRuleVo);
}
